package cn.ncu.wechat.service;

import cn.ncu.wechat.model.Product;
import cn.ncu.wechat.model.dto.ProductBatchRequest;
import cn.ncu.wechat.util.Result;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.web.multipart.MultipartFile;

/**
* @author 
* @description 针对表【product(商品表)】的数据库操作Service
* @createDate 2025-01-07 16:17:22
*/
public interface ProductService extends IService<Product> {

    Result<?> uploadProductImage(MultipartFile file);

    Result<?> productBatch(ProductBatchRequest request);

    Result<?> getProductList(int page,int pageSize);

    Result<?> getProductDetail(Long id);

    Result<?> getPurchaseTypes();
}